WSAL\Helpers\Settings_Helper D

Total Complexity 254
Dependencies 9
Dependents 46
Total lines 1,835
Lines of code 839
Logical lines of code 455
Comment lines 663
Methods 71
Properties 13

Methods 71

Method Rating Maintainability Complexity Lines of code
user_can()
C
38 24 70
get_working_dir_path_static()
A
44 14 42
get_mysql_connections_exclude_by_type()
A
48 12 32
check_ipv4_in_range()
A
45 11 38
set_excluded_monitoring_users()
A
50 8 30
set_excluded_monitoring_roles()
A
50 8 30
set_excluded_post_meta_fields()
A
50 8 30
set_excluded_user_meta_fields()
A
49 8 30
set_pruning_date_settings()
A
46 7 43
set_option_value_internal()
A
54 8 22
get_datetime_format()
S
52 7 24
get_option_value_internal()
S
57 7 17
get_client_ips()
S
49 6 32
get_disabled_alerts()
S
55 6 20
get_main_client_ip()
S
57 6 16
string_to_bool()
S
75 7 3
get_all_not_used_as_mirrors_connections()
S
58 6 15
is_database_logging_enabled()
S
58 5 16
get_default_connection_for_type()
S
60 4 14
get_excluded_user_meta_fields()
S
61 4 12
get_option_value()
S
63 4 10
get_archive_config()
S
63 3 11
get_excluded_monitoring_roles()
S
64 3 10
determine_added_and_removed_items()
S
65 3 8
get_excluded_post_types()
S
65 3 9
bool_to_string()
S
69 3 6
get_excluded_monitoring_users()
S
64 3 10
get_excluded_post_statuses()
S
65 3 9
get_connection_by_name()
S
65 3 9
set_option_value()
S
67 3 7
is_archiving_set_and_enabled()
S
78 3 3
get_frontend_events()
S
62 2 12
convert_name_prefix_if_needed()
S
68 2 7
tidy_blank_values()
S
77 2 3
switch_to_archive_db()
S
71 2 6
delete_all_settings()
S
64 2 10
get_time_format()
S
64 2 9
get_date_format()
S
71 2 6
get_options_by_prefix()
S
64 2 9
get_all_connections()
S
66 2 8
get_all_mirrors()
S
66 2 8
normalize_ip()
S
64 2 9
set_database_logging_disabled()
S
65 2 9
get_excluded_monitoring_ips()
S
69 2 6
get_excluded_post_meta_fields()
S
67 2 7
get_ipv4_by_range()
S
61 1 11
get_archiving_date_type()
S
78 1 3
get_boolean_option_value()
S
78 1 3
set_excluded_monitoring_ips()
S
71 1 5
set_boolean_option_value()
S
78 1 3
current_user_can()
S
78 1 3
delete_option_value()
S
80 1 3
is_archiving_cron_started()
S
78 1 3
set_archiving_run_every()
S
79 1 3
get_show_milliseconds()
S
78 1 3
get_timezone()
S
78 1 3
set_frontend_events()
S
75 1 4
set_disabled_alerts()
S
74 1 4
set_archiving_date()
S
78 1 3
get_archiving_frequency()
S
78 1 3
get_default_disabled_alerts()
S
77 1 3
count_notifications()
S
66 1 8
get_notification()
S
71 1 5
get_notifications_setting()
S
66 1 8
is_request_logging_enabled()
S
79 1 3
get_default_always_disabled_alerts()
S
80 1 3
set_archiving_date_type()
S
79 1 3
is_archiving_stopped()
S
79 1 3
set_archiving_stop()
S
78 1 3
get_archiving_date()
S
78 1 3
is_archiving_enabled()
S
79 1 3